// 基本类型大小
#include <iostream>

using namespace std;

int main(int argc, char **argv)
{
    cout << "sizeof(char) : " << sizeof(char) << endl;
    cout << "sizeof(short) : " << sizeof(short) << endl;
    cout << "sizeof(int) : " << sizeof(int) << endl;
    cout << "sizeof(long) : " << sizeof(long) << endl;
    cout << "sizeof(float) : " << sizeof(float) << endl;
    cout << "sizeof(double) : " << sizeof(double) << endl;
    return 0;
}